home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q105 / 9 / 95.TXT < prev    next >
Text File  |  1993-11-22  |  3KB  |  91 lines

  1. DOCUMENT:Q105995  19-NOV-1993  [W_NT]
  2. TITLE   :AT Command May Fail Copying Files to a LAN Manager Server
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ----------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ----------------------------------------------------------------------
  14.  
  15. SYMPTOMS
  16. ========
  17.  
  18. If you use the AT command to schedule a batch file that copies files
  19. to a Microsoft LAN Manager server in a different Domain, the batch
  20. file may fail and you will receive an "Access Denied" error message.
  21. However, if you execute the batch file from a Command Prompt, it
  22. successfully copies the files without generating an error message.
  23.  
  24. Example Batch File:
  25.  
  26.    Net Use z: \\LMServer\Share
  27.    copy test.txt z:\
  28.    Net Use z: /d
  29.  
  30. CAUSE
  31. =====
  32.  
  33. Without Domain information for the user account, using the AT command
  34. does not succeed. This is because the account it is trying to validate
  35. is the Administrator. The Schedule Service uses the Administrator's
  36. rights for all access.
  37.  
  38. Without Domain information for the user account, using the AT command
  39. does not succeed. This is because the account it is trying to validate
  40. is the SYSTEM account. By default, the Schedule service uses the
  41. SYSTEM account for access rights.
  42.  
  43. WORKAROUND
  44. ==========
  45.  
  46. There are two workarounds for this problem:
  47.  
  48.  - Supply Domain information for the User in the "Net Use" command,
  49.    such as the following
  50.  
  51.       Net Use z: \\LMServer\share password /USER:LMDomain\guest
  52.  
  53.    where "guest" must be a valid account in the "LMDomain" Domain.
  54.  
  55.    -or-
  56.  
  57.  - Have the Schedule Service log on as a valid account on that
  58.    LAN Manager server by doing the following:
  59.  
  60.    1. In the Control Panel window, choose the Services icon.
  61.  
  62.    2. Select the Schedule Service, and then choose Startup.
  63.  
  64.    3. Type the user account on the LAN Manager server (which matches a
  65.       local account) with sufficient rights and type the appropriate
  66.       password.
  67.  
  68.    4. Restart the service so the changes take effect.
  69.  
  70.    This option does not require changing the command line and will be
  71.    permanent unless it is changed.
  72.  
  73. Additional reference words: 3.10 
  74. KBCategory:
  75. KBSubcategory: netsrv
  76.  
  77. =============================================================================
  78.  
  79. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  80. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  81. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  82. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  83. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  84. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  85. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  86. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  87. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  88. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  89. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  90.  
  91. Copyright Microsoft Corporation 1993.